package com.blog.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.blog.bean.User;

/**
 * @className: IUserDao
 * @description: 
 * @author: HCl
 * @createTime: 2020年5月26日 下午8:01:37
 */
@Repository("userDao")

@Mapper
public interface IUserDao {


	public User selectUserById(Integer id);
	
	public User selectUserByUsernameAndPassword(User user);
	
	public User selectUserByUsername(User user);
	
	public List<User> selectAllUser();
	
	public int addUser(User user);
	
	public int updateUser(User user);
	
	public int deleteUser(Integer id);
	
	
	

}
